package Constructors;

public class Car {
	
	private String color;
	private String vinNumber;
	private int currentSpeed;
	private int maximumSpeed= 140;
	private int numberOfGears;
	
	
	
	public Car(String color, int numberOfGears){
		this.color = color;
	
		this.numberOfGears = numberOfGears;
	}

	
	
	public Car(String color, int numberOfGears, String vinNumber){
		this.color = color;
		this.vinNumber = vinNumber;
		this.numberOfGears = numberOfGears;
	}
	
	public void start() {
		
		System.out.println("starting " + color + " color car with " +
		        numberOfGears + " gears and vin number = "+ vinNumber);
		
	}
	
	
	public void stop(){
		System.out.println("Stopping the car");
	}
	
	
 public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public String getVinNumber() {
		return vinNumber;
	}
	public void setVinNumber(String vinNumber) {
		this.vinNumber = vinNumber;
	}
	public int getCurrentSpeed() {
		return currentSpeed;
	}
	public void setCurrentSpeed(int currentSpeed) {
		this.currentSpeed = currentSpeed;
	}
	public int getMaximumSpeed() {
		return maximumSpeed;
	}
	
	public int getNumberOfGears() {
		return numberOfGears;
	}
	public void setNumberOfGears(int numberOfGears) {
		this.numberOfGears = numberOfGears;
	}

}
